//
//  ContentViewController.h
//  UMDReader
//
//  Created by 张 霄鹤 on 10-1-14.
//  Copyright 2010 xhzhang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Chapter.h"
#import "EBFile.h"


/**
 * 小说内容显示视图
 *
 * 目前的版本先用一个UITextView进行文字的显示，到时候将内容使用绘制的方式放上去 by xhzhang[2010/01/14]
 */
@interface ContentViewController : UIViewController {
	IBOutlet UITextView *textView;
	NSString *content;
	NSString *tl;
	Chapter *currentChapter;
	EBChapter *ebch;
}

@property(nonatomic, retain) NSString *content;
@property(nonatomic, retain) NSString *tl;
@property(nonatomic, retain) Chapter *currentChapter;
@property(nonatomic, retain) EBChapter *ebch;

/**
 * 设置内容
 */
- (void)setContent:(NSString *)c withTitle:(NSString *)t;

/**
 * 设置文章
 */
- (void)setChapter:(Chapter *)ch;

- (void)setEBChapter:(EBChapter *)ec;

@end
